package zhh.tangbao.auxiliary.vo.opinion;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 描述
 * </p>
 *
 * @author 粥灰灰
 * <p>2023/4/26</p>
 */

@Data
public class OpinionInfoVo {
    private String id;

    /**
     * 反馈问题的类型ID
     */
    private String typeId;

    private String typeName;

    private String title;
    /**
     * 反馈内容
     */
    private String question;
    /**
     * 是否给出回应，详情见zhh.tangbao.auxiliary.common.ResponseState
     */
    private Integer alreadyResponse;
    /**
     * 意见反馈的回应内容
     */
    private String response;
    /**
     * 做出回应的用户ID
     */
    private String responseUserId;
    private String responseUserName;
    /**
     * 回应时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date responseTime;
    /**
     * 是否匿名，如果匿名就不需要填联系电话，详情见zhh.tangbao.auxiliary.common.AnonymousState
     */
    private Integer anonymous;
    /**
     * 是否需要电话反馈，详情见zhh.tangbao.auxiliary.common.CallBackState
     */
    private Integer needCallBack;
    /**
     * 联系电话
     */
    private String callBackPhoneNumber;
    /**
     * 处理反馈后需几小时内联系，单位：小时
     */
    private Integer callBackTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected Date recordTime;
}
